package HomeWorkDay03;

import java.util.Scanner;


public class SwitchCase {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请选择功能:1.查看余额，2.存款，3.取款，4。退卡");
        int cammand= scan.nextInt();
        switch (cammand){
            case 1:
                System.out.println("查看余额");
            break;
            case 2:
                System.out.println("存款");
                break;
            case 3:
                System.out.println("取款");
                break;
            case  4:
                System.out.println("取卡");
            default:
                System.out.println("输入错误");

        }


    }
}
